package com.dhcc.DRGsHosp.core.domain;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.openkoala.koala.commons.domain.KoalaLegacyEntity;

/**
 * @title		:DRGs.java
 * @description	:DRG分组
 * @author		:fulianxia
 * @date		:2015年4月2日
 * @version     :1.0
 * @copyright   :DHCC 2013-2014 
 */
@Entity
@Table(name="T_DRGS", schema = "DRGs")
public class DRGs extends KoalaLegacyEntity {

	private static final long serialVersionUID = 6165557133209999388L;

	//DRG代码
	@Id
	@Column(name = "DRG_CODE", nullable = false)
	private String drgCode;
	
	//DRG描述
	@Column(name = "DRG_DESC", nullable = false)
	private String drgDesc;
	
	//DRG权重
	@Column(name = "DRG_WEIGHT")
	private String drgWeight;
	
	//DRG低风险死亡
	@Column(name = "DRG_LRM")
	private String drgLrm;
	
	//DRG年份
	@Column(name = "DRG_YEAR")
	private String drg;
	
	//adrg代码
	@Column(name = "ADRG_CODE")
	private String adrgCode;
	
	//版本代码
	@Column(name = "VER_CODE", nullable = false)
	private String verCode;

	/**
	 * @param drgCode
	 * @param drgDesc
	 * @param drgWeight
	 * @param drgLrm
	 * @param drg
	 * @param adrgCode
	 * @param verCode
	 */
	public DRGs(String drgCode, String drgDesc, String drgWeight,
			String drgLrm, String drg, String adrgCode, String verCode) {
		super();
		this.drgCode = drgCode;
		this.drgDesc = drgDesc;
		this.drgWeight = drgWeight;
		this.drgLrm = drgLrm;
		this.drg = drg;
		this.adrgCode = adrgCode;
		this.verCode = verCode;
	}

	public DRGs() {
		super();
	}

	public String getDrgCode() {
		return drgCode;
	}

	public void setDrgCode(String drgCode) {
		this.drgCode = drgCode;
	}

	public String getDrgDesc() {
		return drgDesc;
	}

	public void setDrgDesc(String drgDesc) {
		this.drgDesc = drgDesc;
	}

	public String getDrgWeight() {
		return drgWeight;
	}

	public void setDrgWeight(String drgWeight) {
		this.drgWeight = drgWeight;
	}

	public String getDrgLrm() {
		return drgLrm;
	}

	public void setDrgLrm(String drgLrm) {
		this.drgLrm = drgLrm;
	}

	public String getDrg() {
		return drg;
	}

	public void setDrg(String drg) {
		this.drg = drg;
	}

	public String getAdrgCode() {
		return adrgCode;
	}

	public void setAdrgCode(String adrgCode) {
		this.adrgCode = adrgCode;
	}

	public String getVerCode() {
		return verCode;
	}

	public void setVerCode(String verCode) {
		this.verCode = verCode;
	}

	@Override
	public Serializable getId() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public String[] businessKeys() {
		// TODO Auto-generated method stub
		return null;
	}

}
